package edu.pku.sei.act.model.mote;

import edu.pku.sei.act.model.common.ArchiModelConst;
import edu.pku.sei.act.mote.myenum.YNEnum;
import edu.pku.sei.gmp.properties.annotation.GMPAnnotation;
import edu.pku.sei.gmp.properties.annotation.GMPEnumAnnotation;

public class SimpleDevice extends OuterModelElement {

	@GMPAnnotation(
			id = "ruleEngine.mote.needSimpleDevice",
			name = ArchiModelConst.__SIMPLEDEVICE__,
			category = "Model",
			getter = "getSimpleDevice",
			setter = "setSimpleDevice",
			visible = true,
			serialize = true
			)
	@GMPEnumAnnotation()
			private YNEnum simpleDevice = YNEnum.Yes;
    /*private String simpleDevice = "Yes";
	
	public String getSimpleDevice(){
		return simpleDevice;
	}
	public void setSimpleDevice(){
		this.simpleDevice = "Yes";
	}*/
	
	public YNEnum getSimpleDevice(){
		return simpleDevice;
	}
	public void setSimpleDevice(YNEnum simpleDevice){
		this.simpleDevice = simpleDevice;
	}

}